package fundation.inheritance;

public class Quest201027 {
    public static void main(String[] args) {
        new B().out();
    }
}

class  A{
    private String message ="I'm A";
    void out(){
        System.out.println(message);
    }
}
class B extends A{
    private String message ="I'm B";
}